package com.example.service.impl;

import com.example.dao.TestDao;
import com.example.entity.Test;
import com.example.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层接口实现类
 * @author 李平
 */
@Service
public class TestServiceImpl implements TestService {

    @Autowired
    private TestDao testDao;

    @Override
    public List<Test> getAll() {
        return testDao.getAll();
    }
}
